﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CineProwl.Domain.Workers;

namespace CineProwlWeb.Controllers
{
    public class HomeController : Controller
    {
        //
        // GET: /Home/

        public ActionResult Index()
        {
            return View();
        }

        public ActionResult Play()
        {
            string moviePath = @"D:\ConvertedVideo\Eragon\Eragon.mkv";
            FileSystemService.PlayMovie(moviePath);
            return RedirectToAction("Index");
        }
    }
}
